package com.ws.haungjia.mapper;

import com.ws.haungjia.Bean.User;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

public interface GerenzhongxinMapper{
    @Select("select * from user where userID=#{ID}")
    public User usercha(int ID);

    @Select("select * from user where userID=#{id}")
    User huixian(int id);

    @Update("update user set Name=#{name},pass=#{pass},shouji=#{shouji},touxiang=#{touxiang} where userID=#{userID}")
    int xiugai(User user);
}
